patch method works