Update profile.py

latest update to profile. please do not change the code before talking to me.