adding url hashes for state