saving changes before pull