Mix sugar, vinegar, celery seed and mustard seed. Add drained pickles. Stir until sugar is melted, then return to jar.