Refactored Firebase updateNode to pullNode