updating queue data implementation (incomplete).