update daemon script