updated Rubiks class