it updates its indices when it adds or removes repo