some upgrade stuff