update from script for web.js