redricting to profile page after updating profile successfully