Update posthandler.php