added updateAlternative