updated route checking