Update API url building
Update dist