test method update