修改update_by_ruby接口

Signed-off-by: johnnyeven_work <johnnyeven@gmail.com>