fixed a typo in js changed updat to update and now, the todos are being updated again when box clicked