update one method