Fixed the success message after saving profile

The message was displaying ‘Profile updatedundefined’