Refresh classes on update.