updated all kernel functions