update scaffold kernel