update master model