Simplifying update-serialization code