backend to add new event