how do i update my gatsby version?

CSS
npm i gatsby@latest
Source

Also in CSS: