update create method in courses