updating api stub and saving days