update detected pw into db