update for rebuilding