update integrityDAO with some potential optimizations