Completed Edit function and query for disk types.