add simple function to update all nodes