apply API update patch