Turn off the phone completely then press Volume Down + Power button. Keep the buttons pressed until the Android logo appears. On the recovery screen, select Factory Reset and finish the procedure. Restart the phone and it will work then you can resume the update process.