User Sync after role update in mater site

Hey guys!

Im using the User Sync and i have a question, when i update an user role in the master site nothing changes in the subsite, unless I save the profiles manually..

PS: in the master site the roles are chaning normaly

Im using the Paidmembership pro plugin and this code to give a role to an user based on their member level:

/*
FUNÇÃO PARA ALTERAR A ROLE COM BASE NO NÍVEL DE ASSINATURA DO CLUBE UNIVERSITARIO.
*/
function my_pmpro_after_change_membership_level($level_id, $user_id)
{
//get user object
$wp_user_object = new WP_User($user_id);

//ignore admins
if(in_array("administrator", $wp_user_object->roles))
return;
if($level_id == 1)
{
//New member of level #1. Give them membro-do-clube-adm role.
$wp_user_object->set_role('membro-do-clube-adm');
}
elseif($level_id == 2)
{
//New member of level #2. Give them membro-do-clube-pp role.
$wp_user_object->set_role('membro-do-clube-pp');
}
elseif($level_id == 3)
{
//New member of level #3. Give them membro-do-clube-jornalismo role.
$wp_user_object->set_role('membro-do-clube-jornalismo');
}
elseif($level_id == 4)
{
//New member of level #3. Give them membro-do-clube-dierito role.
$wp_user_object->set_role('membro-do-clube-dierito');
}
elseif($level_id == 5)
{
//New member of level #3. Give them membro-do-clube-educacao-fisica role.
$wp_user_object->set_role('membro-do-clube-educacao-fisica');
}
elseif($level_id == 6)
{
//New member of level #3. Give them membro-do-clube-ciencia-esporte role.
$wp_user_object->set_role('membro-do-clube-ciencia-esporte');
}
elseif($level_id == 7)
{
//New member of level #3. Give them membro-do-clube-mkt role.
$wp_user_object->set_role('membro-do-clube-mkt');
}
elseif($level_id == 0)
{
//Cancelling. Give them Subscriber role.
$wp_user_object->set_role('subscriber');
}
}
add_action("pmpro_after_change_membership_level", "my_pmpro_after_change_membership_level", 10, 2);

So in the master site their roles are changing perfectly, but not changing in the subsite unless I saved the profiles manually

What i need is: the users join in some membership level, their roles