update one class