add update system in build script