Possible fix for updating records in db v7