update ember.js code