updating search portion