updating link for api resources