Editing of dropdown values via code

Hi!

I have the question: can I insert and edit dropdown values via code? I have a sheduler task and I want to edit dropdown in this sheduler. I see that I can try to rewrite custom/include/language/en_us.lang.php file but it doesn't seem to be clear and right solution.

Thanks for a response.