Update boss bar api to 1.8