Change sample spec