adjust cache