Made queue processing callback actually update queue