move template js element to update_element + change in css.scss