update search term and ruby.