updates search form