Improve update sample spec