1. A method of updating at least one of: firmware and software in an electronic device having update agent code, the method comprising: authenticating to obtain an update package, wherein the update package includes at least executable instructions for converting a version of code to an updated version of the code; executing the update agent code to create a backup copy of the update agent code only if the update package indicates that the update package affects the update agent code itself; executing the update agent code to update the at least one of: firmware and software in the electronic device employing the obtained update package, wherein executing the update agent code to update the at least one of: firmware and software in the electronic device comprises running the backup copy of the update agent code to update the at least one of: firmware and software, if the backup copy of the update agent code exists and is valid; and running a source copy of the update agent code to update the at least one of: firmware and software, if the backup copy does not exist or is not valid.