fixed encoding
added update name from API
fixed tests; test update name from API