added date to update post type