update build file for release build