PERF: speed update panel source loop

flake8