update auth def