error message added in profile update