implement JSON Patch replace operator
add index/all endpoint