update_material_checkbox function

Change the value of a material_checkbox on the client