remove published flag from posts and events