contrib update db to v2