fixed updating roles