add settings for document