repo update should not be in this script