changes to edit global