Changes to PUT the method for updating todos
Prevents flashing of non-processed templates