Update badge in reloading