Make the PUT request work when saving course info