update role for latest elasticsearch version