update sample style