update target db