change node attributes