add clear cache function to update.rb