Update imagelist.php