A dynamic trajectory control algorithm for improving the communication throughput and delay in UAV-aided networks | Synapse