updating route