Local notifications and badge

I’ve a problem with local notifications and badge plugin.
When I schedule a notification I increase the badge number near APP icon. When the app is closed and i delete all my local notifications ( or 1 notification) from notiifcation center (android) how I can update my badge number (or hide if I delete all)?