An IoT Based Automated Traffic Control System With Real-Time Update Capability