Added ability to update more than once. Not TESTED.