Update profile template bug