update demo and log