call generate_callback on config option change