Update apter

More clear code