Fix Todo.put always creating a new Todo in the db instead of updating the existing one