Implemented update for node