code: function replace(id, item, store) {
        var data = store.rootData.asObject();
        // Check id coincidence
        if (data[id.toString()]) {
          // Add item id property if it hasn't
          item[store.idProperty] = id.toString();
          // Replace item
          data[id.toString()] = item;
          // Update store data
          store.rootData = store.data = new Result(data,store, store.data.__sorted);
          // Update store data items length
          store.size = Object.keys(store.data).length;
          // Trigger onSourceChanged event
          vcomet.triggerCallback("onSourceChanged", store);
        } else {
          // Item not found warning
          return vcomet.error.log("store", "Item with id " + id + " not found");
        }
        return item;
      }
docs: /*
  @function replace
  @description Create a store data item from a local source
  @param {String} id [Store data item id]
  @param {Object} item [Store data item]
  @param {Object} store [Store element]
  @return {Object} [Store data item]