update views file