update in confronto.js