update routing
update status middleware