update compressed copy if the original file is modified