Add routes for updating tasks