add entities for history db