updating profile attributes