added daily check update and function ti edit config file