The CMS api updates the default layout in cms database but the server does not regenerate the schedule

Hello everybody
I am working with xibo CMS 2.1 API and change default layout of a display. The api works properly and I can see in the cms that the default layout has been changed. However when I start the client again the default layout have not been changed and It seems the the server has cached the previous schedule and the schedule has not been updated based on the cms database.
Best