add export db feature