search updated and function for search in update added