update related resource