change cache api