template binding should react to changing template