add save to csv and update json_ui