Update serialization example