add/remove repository effect