Patch IDP metadata