updated db, gallery