add minified version of update