update the useraction

remove the "url" and add the "api_url"