Update Component.js