update before push