update locally