change legend message