Showing your appreciation makes them much more likely to stick up for you in the future. If these bills do get shot down, they'll inevitably return in a different form in the future.
I did the exact same. I wasn't aware before calling that my representative opposed both bills, but I made sure his staff knew I appreciated it when they told me.