flushing local changes