1.update the storage