add query and hash in docs