delete is_terminal add directory_type change view