Updated legend position