update mongodb credientials