Implementation of editing event functionality