modify post new event api