upgrade code style