update auth model