updated saveSubmissionDocument function, to save doc for a specific StudentAssignment