Udpated boss bar API