This fixes a bug where updating the id property of an element was not propagated to the diagram. Thus, retrieving the element based on the new id from diagram-js did not work. Closes #238