Not a bad idea to ALWAYS pull off a battery cable when messing with airbag stuff...and wait a few minutes as well.
Adding to this mix, seatbelt pre tensioners also tend to fail from time to time. That might also be a consideration in your situation.