adjust api_behavior to display updated data after a patch/put request