update sample code styling