update pagename getting rule