Refactored password#update.