update for profiling