Update and cancel course functionality updated