How confidence changes through life