if your device is rooted and custom recovery installed first do flashing stock recovery back then unroot it.
Now only try offical ota update im sure it will work 100% successfully.
Never try official ota updates using TWRP. Its not recommended.
Here is the answer for that from the source of...