modify tar file