update badge at startup