Add function update password for logged in user