Sql server lock table while updating