update script with multiple search parameters