[Core] Update channel.Ranks properly