updated the workspace definition code