add write_web_callback method