update html on rails