Fix inability to update globals