Updating advanced queue sample