change photo table