upgrade generate page