Possible fix for updating records in db v3