Use an AJAX call to update profile