Added Update method.