edit to legends