only update the profile and bashrc if needed