correct call now for saving attribute tables