improve register post type for events