final update for rebuild