finish key upgrade