updating custom post types