update access to class object