Instead of introducing global symbol names like this, I suggest to use AL.updateSources etc throughout your patch.