diagram is now updated with changes made in source tab of the editor