1. A method generating an update package by a generator that generates an update package comprising delta information between an old version V 1 and a new version V 2 of code wherein the code is capable of being executed in an electronic device, the method comprising: preprocessing by a preprocessor associated with the generator; differencing by the generator; and encoding by an encoder associated with the generator.