update gears and add sample