added new go routine to update photo row after file upload and json return