update db representation