update mr script