update_material_dropdown function

Change the value of a material_dropdown on the client