Update single course API and default id