update serialize format