I find it safer to install the SSH module for PHP. Then wp will upgrade via that!