Update master slave