update lang, fix coding style