Update gate to v8