Added Patch functionality