saving data before pull
saving data before pull