upgrade to latest rust version
modify some code style & function