update spec.js