fix node.go race between expire and update