how to uses update