Update $post_type variable