update some code style