update different versions of variables