updated csv converter