Updating password encoding