Update method