update db,py