The average for a 30-year loan increased to 5.22% 4.99% last week, Freddie Mac said Thursday in a statement. Thats the first increase since July 21