updates to run as a daemon