Pi-hole can be easily updated through the shell by using the following command.

pihole -up