upgrade sequence