Update project list function, remove global variable in vim script and move the into python