update/fix the sample