update course data storage in database