update insight.py to the latest version