added refresh adpods function