change callbacks so that all photos are uploaded properly on a multi-file upload