add customizable sync interval in config file