fix boolean attr, fix upgrade node after update