updated to do edir attribute updates.