update viewmodel for search page