update code connection DB