Refactor updateTaregeting