update style
refactoring