Globals saved on komponent update

Can we get a way to save global settings when a playstore or apk komponent gets updated?