The Pihole web interface tells you to run pihole -up
to get the latest version. But if you are running pihole as a docker container we need to do it a little bit different.
To update pihole; Open a terminal and do the following:
Stop the container:
Pull the latest Pihole
Remove your existing pihole container
Start container
After updating this the custom blacklist was still intact.