updating with prior on c_d