update restmachine_resource