update and fix add node