Cache assignment grades and update them in the background