update single namespace code style.