Add update method to Node