updating profile code - light weight