add persistent module and cache records