updates sample