After uploading, the quota value wasn't refreshed. This fix refreshes the quota value after files have been scanned or uploaded.