update to code style