Removed lodash dependency; Added data param for set and update.