Fixed updateEntry.php