Update bug which removes one sample