updated legend source