upgrade annotations