update config and kernel