improvements for publish node package