Update ui for agreement search and agreement public view.