changed edit behaviour, deleted log import