updated todo and completed views