Make the frontend call the backend for updating todo items.