Use id for Resource.update