add mapping from db