Refactor password#update.