small changes for posting of metadata + event types