Update existdb-node module
Add end event listener