update sdk, add toast message if db cannot be opened