update location hash sample in documentation