update views & javascripts