If in doubt, update twrp first, download the .IMG file of twrp 3 4.0.1, and select the image to install from twrp. Always check MD5 if it matches exactly before installing the new twrp as well as the zip of the rom if you install everything from recovery, if you install the rom via OTA it is not...