Turn off all the breakers in your current panel, pull the glass from the meter (this will disconnect the street power from your house) and switch it out
Your wiring out of the panel however looks very Harry Homeowner. No offense to you if you installed it.
I inherited this when I bought the house.