update model of account