update modals for search