fix badge update