update basic daemonize example and history file