Update repository state.