update begin db with bdb