           response.data = config.transformResponse(response.data, 'array')
 
           # replace array items with new data
-          Data.replace(response.data)
+          response.data = Data.replace(response.data)
 
           return $q.when(response)
 

          _data.all.splice(0, data.length)
          [].push.apply(_data.all, data)
          store.setItem("#{name}.all", _data.all)
          return _data

        ###
        # @method Update Single Entry from Collection

            throw new Error "Expected object, got #{typeof res.data}"

          res.data = config.transformResponse(res.data, 'one')
          res.data = Data.updateEntry res.data, config.matchingCriteria(res.data)
          return $q.when(res)

      ###
