implement avatar_data::save&query