Fixing PUT method when save a course