Load and save course table from profile in db