created event for post handling