add db to local