update code to using like TAL syntax