update sql compnent