updated key legend