update patch command in script