work with editprofile and profile