updated version_set and save_fig