updated the updating of records for assignments controller upload