updating push state to use url and not path