Updated photos.db