update inner API
update data method