Update basePostModel.php