Bug Fix: replaceByExample
Big fix: wrong use of undefined
Bug fix: sending data in correct format
Bug fix: in updateByExample