Fix file storage on updateResources