wrap up functionality for profile edit screen