update for dist repository support