update now has correct attribute pairs