Fixing update and replace functions for rethinkdb
Fixing update and replace functions for rethinkdb

pdonorio/rest-mock,pdonorio/rest-mock,EUDAT-B2STAGE/http-api-base,EUDAT-B2STAGE/http-api-base,pdonorio/rest-mock,EUDAT-B2STAGE/http-api-base