Update C snippet