Update resource structure