fix update kernel source, build errors