Refactored code due to https://github.com/Gomasy/update_name/commit/6a1f4f983d58a245756f968a092d0aae20a35a33
Fix account.rb due to https://github.com/Gomasy/update_name/commit/d430ee14258c6d9f38341fae06db78af064384a3