updated documents and added SelectPhrasePaste function