Forum:Junk Warrior effect

When i synchro summon Junk Warrior and will have Quillbolt Hedgehog on my field, my Junk Warrior gain his ATK (800), so total ATK of my Warrior will be 3100. What will happen if my Quillbolt Hedgehog will be destroyed? Junks ATK will be 2300 again and what if ill then resurrect my Hedgehog to field again?