update sample properties