Flush & clear after deleting variables to reflect updated data

Reviewer: Daniel Villafuerte

Issue: GCP-9037