             throw new Error "Expected object, got #{typeof res.data}"
 
           res.data = config.transformResponse(res.data, 'one')
-
-          Data.updateEntry res.data, config.matchingCriteria(res.data)
+          res.data = Data.updateEntry res.data, config.matchingCriteria(res.data)
           return $q.when(res)
 
       ###

          response.data = config.transformResponse(response.data, 'array')

          # replace array items with new data
          Data.replace(response.data)

          return $q.when(response)


            throw new Error "#{name} Model: Expected object, got #{typeof response.data}"

          response.data = config.transformResponse(response.data, 'one')
          response.data = Data.replace(response.data)
          return $q.when(response)

      ###
