write *_rev back to cfg if changed