edit events backend (uncomplete)