- updated settings flow
- updated db sql