replacing dump instead of appending