Update slate.js