Added refresh manifest function