Update C to change random values