Add repo before update