Update resize-update.js