updated courses database schema