update complete page to haml