update registration and profile edit