attempted improvement to updater, needs further testing