update document title on unread message count