update database photo title