Update executePhoto.sql