update mapdb and credentials