add update core
add api for update cards