dbug and update API url