add route to state object