Update BasePost.php