edit global vars