update Template.bind to use observer