Patent ID: 7587433

Claim:
A method of in-place updating a stored version of content stored on a storage device using an update package that is adapted to update an original version of content to an updated version and that includes update commands in a particular order, the method comprising: determining a direction of the in-place updating; and in-place updating the stored version in accordance with the determined direction, wherein when the determined direction is forward, then in-place updating includes: forward-updating the stored version to the updated version, in accordance with the update commands included in said update package, according to the particular order; reserving content which has been deleted during the in-place updating; and storing the reserved content in segments of physical blocks in the storage device, wherein, when the determined direction is not forward, the in-place updating includes: deriving, from the update package, a roll-back sequence comprising reverting update commands wherein at least two reverting update commands in the derived roll-back sequence are ordered in an opposite order to the particular order of the update commands in the update package; and rolling-back the stored version to the original version by applying the roll-back sequence and utilizing reserved content when there has been a prior forward updating, and wherein at least one of the reverting update commands corresponds to a specified update command that is associated with a specified result and reverts the specified result of the specified update command.