update cpp lua utility