Update entry.php