Test resource update.