Fixed editing profile bug, and also allowing updating without a password.