update log script