major fix in the update relationship api call. AccessToken was getting ignored while making the api call.