Fixed published flag on event update