add method update