update interaction.js