update raw resource