update code to v8.0