add update method for VersionedStorage