fixed posts_post_type default value
created an install/updated method