before pull on server