CuClass init and update