updates for filtering on messages