Modify all of method update in model class