Updates to fix communication between db and master node