change method in scala.html