update legend in plot4