Update for sqlserver