Timeout to update the legend