Applying Patch