updated public profile method