优化DataManager.set

Signed-off-by: Gaubee <GaubeeBangeel@gmail.com>