updated to new react-router location