updating password encryption