update patch in schema