Update ranch from 0.4.0 to 0.8.4