update mr build script