Add PATCH route helper function
Merge pull request #5692 from brayniverse/patch-2

Add PATCH route helper function