test resource update