update link in api and client