Update script for build