Update resource functionality to ensure proper request testing