merge diaries in to category detail