Please fix all of the grammar mistakes in the given text:
Due to the increase in the standard of living, better medical treatment is available and this has caused the life expectancy of the people to increase.
Due to an increase in the standard of living, better medical treatment is available, and this has caused the life expectancy of people to increase.