get api config every 7 days instead of everyday