Fixed DeleteAttribute bug
Expanded use of UPDATE in favor of DELETE/INSERT