DOC: add instructions for updating environment
I have found that when I merge in `upstream/main`, the devtools and pre-commit hooks often change, and then I need to update the environment.  So I've documented that here.

Not 100% sure that the instructions using `pip` are correct, so suggestions are welcome.

Thanks @Dr-Irv 