update legend img for lookup table