Add specs and code for editng todo items