Added refresh images method