Added id in documents