Update ui and other small updates for agreement search.