update master method