Roles functionality updated