support for updating legacy kw in sqlite db. 
If the DB already has a record for the given URI, it converts the legacy
format into ISO xml