clicking save now fetches the records from api