The University of Michigan’s consumer sentiment rose to 90.9 in July, up from the 90.3 reading in its preliminary report at midmonth and 89.7 in June. Analysts had expected a reading of 90.6.

The rise contrasts with the U.S. Conference Board’s consumer confidence index released earlier in the week, which surprised financial markets with an unexpected decline to 76.6 last month from 83.5 in June.

The Michigan report was released to subscribers on Friday.

The index for consumer expectations rose to 83.7 from 82.7 in the preliminary report, but fell from 86.4 in the June final survey.

The current conditions index for July was unchanged from its midmonth reading of 102.1, up sharply though from 94.7 in June.