updating nodes list