Possible fix for updating records in db v4