Update ui for agreement search results and agreement public view.