update class online