modify AssignmentController and Assignment