updated legend generation messages