update before pull