finish form upgrade terminal ui