Update method logic