Password update only when needed