modified photos in db