Implement function for updating search boxes