add support for new release post type and legacy post type