Re-organize defence

Can a developer explain us what is happening in our defence while we are reorganizing it…???

i mean in the time I change towers position etc and I get attacked… What defence I have…?

I’m almost certain it takes 5 to 10 minutes to update your defence. Whenever an alliance member reorganized his defence and asks me to attack I have to wait for the changes. So I’m assuming it just keeps your old setup for a few minutes after which it updates to the new one.