Update formation.js