updating legend image