handle status upgrade