check event type on upload