Update sample code style