Update GalleryDatabase.py