Why was the US flag changed between 1795 and 1818?

what changes was taking place in the 1818