upload courses from json