update for legendBox