edit events works