added save changes method to profile edit