Update register custom post type