update serialize