Correct all grammar flaws in the following text:
Programs such as visiting the elderly or providing assistance to the elderly will also increase their confidence and accept the society again.
Programs such as visiting the elderly or providing assistance to the elderly will also increase their confidence to engage society again.