upgrade and exit button works