patch post.php