Updating update_page to split out contextmenu class instead of replace