update for multi database

Signed-off-by: beer <beer@pivmi.info>