update profile: add profiling