update with cython mcmc