fixed template binding update