Update getEntries.php