Update class.post_type.php