update adapter localdb