update revision of mode
remove python mode