Extract updated variables to separate file