update gems and clean cache