Update function check old password before change new pass