change node representation