updated router init