Fixed update condition for APT module.