updating unread count on marking read/unread