pull from upstream and then pull