update ngqueue snippet