update export_fig
update synthetic data function