[v2.1] add support to toggle annotations