updated profile and added scope to it