Use the endpoint to update the task title