set password always created a new entry instead of updating the existing one.