Latch Assembly Replacement

I have a new latch assembly. I can’t get the old connectors (2) off. Any suggestions.

Try a small screw driver and pry them up off the spades