Try to reinstall Sony PC Companion and make sure you have a stable Internet connection. After installation, add the application to the exception list in the firewall's configuration settings. Since this is an Android based phone, go to Settings > Developer options and enable USB Debugging. After you perform this operation, plug the phone and start the update process and make sure that the battery level is above 50 %.