a function is also called as soon as its body is modified in live mode
updated templates