PATCH method should also catch IntegrityError

Patch method doesnt catch IntegrityError which I think is an oversight because POST does. So here it is added.