fixed #134

checks now for the mode (create or edit) and refreshs the correct root node
depending on the given mode.
Merge branch 'bug/134-workbench-refresh' into dev