Update depending badge