update method

update method