key upgrade