Data arrange and csv save update