Possible fix for updating records in db v5