update glob source logic