update db contents