minor edit_log refactoring
edit log refactoring