Replace only changed lines in the meta file