Improved updateprofile.html.template
Merged changes in updateprofile.html.template