moved eventurl from media to event table