class methods updated