use total_resources, inline with updated_resources