fill the link with the resource.data on add_methods.