updates search to save as XML