update csv upload conditions in controller for assignments