add mapping for entities