update goldman to save queue_code for later process