Update selected.js