adding repo update functionality