node_function connection need to be revised
function update unfinished