handle page name changes in search