How to Edit an Existing Advanced Query