update to allow for replace using timestamps with a test. fixed issue 5796

...97