updating to newer legend