commit changes of queues