Added debug info for possible fix for updating records in db, however it contained an error