update fig legends