updating activeWorkspace

when add workspace