view template update

Changing the syntax in view template