Is this method only called when the xblock is first rendered? Will it also be called when an element on the page is edited?