update before build
take care of deps in config instead of build script