Fixed upgrade -y option