update masterkey datamodel