Update Modality.js