update a todo

- added UpdateTodo method to Todo controller
- modified view to use "url" helper instead of manual URL construction