updates for class