updated the directive views accrding to the client perspective