update for distribute