Update for class