update to class