update utils middleware
update routing and config
update main app