error structure update for model