Cython Boolean network updates