fix update.rs: ~str can't derive Decodable anymore, use StrBuf instead