Update newentry.php