Since there is already an entry in the database table in the TfsIntegration database, the INSERT command fails with a primary key violation error. The script should read.
UPDATE [TfsIntegration].[dbo].[tbl_database]
SET [dbname]='New Analysis Server Data-Tier Computer\Instance If not default'
WHERE [name]= 'BISANALYSIS DB'