Set document details