updated assignment_index for uploads