updating class methods