reload stated based upon url routing