updating the course table