Update viewPost.php