add logic for deleteWorkspace if it doesnt exist to fix use case