added auto update of current workspace