add sample to server