update by local