^ update save profile method

work with both save & save and close