update master data