db_opt corrected to dbopt in configuration and adapter
sqlite adapter now updates a selection before callback, and calls callback only if the selection according to id and timestamp verification succeeded