save connections before saving tags during file upload