change name of code view
delete old view