update boost ping-pong solution