problems on register and profile_update fixed