do not update alerts that do not need updating
better doc of median test