add flush to disk