update csv generation view