update node record and stash record, change some default values