try update-alternatives instead