Niners target defensive upgrades