updating socket ports and mongo db location