refactored search form element names for changes in API