add support for patch method
Resolving conflict