updating agent range