added profile setting APIs refs #192

Actually, we don't have to update the value for each elements...
update_attributes method accepts hashmap as its argument.