adds published? scope to event model