some changes to profile model