Treatment with donepezil did not significantly improve the overall composite score , but it did result in modest improvements in several cognitive functions , especially among patients with greater pretreatment impairments .