Updating url and header in search