update serialization