using SQL with velo

I´m trying work with a hook of beforeUpdate, on a data collection, and I have installed SPI SQL from Velo.
I have done a line script, at sql, which doesn’t work . Someone can help me?

sql (‘UPDATE avaliacaosaude2 SET totalqhs = qhs1 + qhs2 + qhs3 + qhs4 + qhs5 + qhs6 + qhs7’ );