updating composer.js file