Default [Q] Samsung Galx S4 Sprint rooted will not update to KitKat with odin

Hello Im new to samsung and galaxy phones, I rooted my phone back in february and now the new update for KITKAT comes in and down loads but it fails right after the download finishes. I have tried to do it manually with odin and the stock rom from sprint but as soon as Odin starts it says write failed.. Does any body know how to fix this or tell me what is going on. I have clockword recovery flashed as well is there a way to update kit kat from the zip file on sd card? Thanks in advance for the help