change course to class and update order