update package manager detection