Fixed classed update