update the master