update code formatting