update model
add service and resource