add delete_local_resource_tupes and get_local_resources functions