put the course into the database