Update custom post type script.