Update number of assignments on table course every time a new assignment is created