fixed updating of legend
Release 0.9.90