* Fix database conflict handling by replacing CONFLICT_FAIL with CONFLICT_REPLACE
* support for db version v21, keeping V20 as default
* minor fix