sulution about global
edit update_log