Added Edit Event functionality