update buildOptions