add action to update unread messages count