Update method.m