Changed cache to sync with db via sync agent