patch_data function

Patch entry in data registry